// pages/list/list.js
import { getViedoList, getNewVideoList, getHotVideoList } from "../../utils/api.js"
Page({

  /**
   * 页面的初始数据
   */
  data: {
    mv: [],
  
  },


  onLoad: function (options) {

    var that = this;
    var www = '';
    var it = '';
   
    wx.request({

      url: 'https://v.cjveg.com/api/search?pagesize=20&pageindex=1?',

      data: {
        query: wx.getStorageSync(www)
      },
      method: "GET",

      header: {

        'Content-Type': 'json'

      },

      success: function (res) {
        console.log(res.data);
        that.setData({
          mv: res.data.data
        })
      },
    })
  },

})